package com.cdxy.biz.process.impl;

import com.cdxy.biz.process.IIndexBizProcess;
import com.cdxy.model.dto.req.HomeIndexReq;
import com.cdxy.model.dto.req.HomeIndexSceneReq;
import com.cdxy.model.dto.req.SearchRecommendReq;
import com.cdxy.model.dto.req.UserWithLoginReq;
import com.cdxy.model.dto.req.app.AppMddReq;
import com.cdxy.model.dto.resp.BasicUserInfoResp;
import com.cdxy.model.dto.resp.HomeIndexResp;
import com.cdxy.model.dto.resp.HomeIndexSceneResp;
import com.cdxy.model.dto.resp.app.AppMddResp;
import com.cdxy.model.dto.resp.app.AppSearchRecommendResp;
import com.cdxy.service.IIndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: tangy
 * @Date: 2020/3/17 11:39
 */
@Service
public class IndexBizProcessImpl implements IIndexBizProcess {

    @Autowired
    private IIndexService indexService;

    @Override
    public HomeIndexResp homeIndex(HomeIndexReq homeIndexReq) {
        return indexService.homeIndex(homeIndexReq);
    }

    @Override
    public HomeIndexSceneResp homeIndexScene(HomeIndexSceneReq homeIndexSceneReq) {
        return indexService.homeIndexScene(homeIndexSceneReq);
    }

    @Override
    public AppMddResp appMdd(AppMddReq appMddReq) {
        return indexService.appMdd(appMddReq);
    }

    @Override
    public AppSearchRecommendResp appSearchRecommend(SearchRecommendReq searchRecommendReq) {
        return indexService.appSearchRecommend(searchRecommendReq);
    }

    @Override
    public BasicUserInfoResp basicUserInfo(UserWithLoginReq userWithLoginReq) {
        return indexService.basicUserInfo(userWithLoginReq);
    }
}
